#pragma once

#include "IShader.h"
#include "Image2D.h"

struct OnRezise
{
    XMFLOAT4X4 Projection;	
};

class ImageShader : public IShader
{
public:
	ImageShader(void);
	~ImageShader(void);
	OnRezise OnRezise;
	HRESULT Init(const char* effectName,const char* VsName, const char* vsVersion, const char* PsName,const char* psVersion,VertexLayout vl,const char* GsName = NULL,const char* GsVersion = NULL);	
	void SetShaderOnDevice(RenderableObject obj);
	void Update(RenderableObject obj,Camera* camera);

private:
	ID3D11Buffer*                       buffer;	
	ID3D11SamplerState*                 g_pSamplerLinear ;

};
